#include "stdio.h"
#include "string.h"  //提供了strlen()函数
#define DENSITY 62.4 //人体密度(单位: 磅/立方英尺)

int main(void){
    float weight,volume;
    int size,letters;
    char name[40]; //name是可容纳40个字符的数组
    printf("请输入你的名字:");
    scanf("%s",&name);
    
    printf("你的名字是:%s\n",name);
    printf("your weight:");
    scanf("%f",&weight);
    size = sizeof name;
    letters = strlen(name);
    volume = weight / DENSITY;
    printf("你的名字:%s,volume:%2.2f。\n",name,volume);
    printf("your fist name has %d letters\n");

    return 0;
}

